# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer:
pkgname=xapp
pkgver=2.8.2
pkgrel=1
pkgdesc="Components which are common to X-Apps"
arch="all"
url="https://github.com/linuxmint/xapp"
license="LGPL-3.0-only"
makedepends="
	gobject-introspection-dev
	libdbusmenu-gtk3-dev
	libgnomekbd-dev
	meson
	py3-gobject3
	py3-gobject3-dev
	vala"
source="https://github.com/linuxmint/xapp/archive/$pkgver/xapp-$pkgver.tar.gz"
options="!check" # no tests
subpackages="$pkgname-dev $pkgname-lang"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
97d19b95626a37fc08a0a159be741de5d9bcc034484e977bd739b91bd37122fcf2f3479285d544282a92c8fa180b116db1ad5e96fe19284c62287d3c5b135163  xapp-2.8.2.tar.gz
"
